<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  	<%@include file="/res/include/base-head.jsp"%>
	<%@include file="/res/include/jquery-easyui.jsp"%>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/homemaking/homemakingPubitem.js"></script>
  </head>
  <body>
 	  <div class="easyui-tabs">
		<div title="服务项目" style="padding:10px">
	  		<form id="data-form" class="dialog-data-form">
	  			<input name="id" type="hidden"  value="${homemakingPubitemVo.id}" />
		    	<table class="data-table" cellspacing="4">
		    		<tbody>
		    			<tr>
		    				<td class="field">类别：</td>
		    				<td>
		    					${homemakingPubitemVo.typeName }
		    				</td>
		    			</tr>
		    			
		    			<tr>
		    				<td class="field">名称：</td>
		    				<td>
		    					<c:if test="${!empty homemakingPubitemVo}">
			    					<input name="name" type="text" class="field" maxlength="26" value="${homemakingPubitemVo.name}" />
		    					</c:if>
		    				</td>
		    			</tr>
		    			<tr>
		    				<td class="field">单位：</td>
		    				<td>
		    					<c:if test="${!empty homemakingPubitemVo}">
			    					<input name="unit" type="text" class="field" maxlength="10" value="${homemakingPubitemVo.unit}" />
		    					</c:if>
		    				</td>
		    			</tr>
		    			<tr>
		    				<td class="field">数量：</td>
		    				<td>
		    					<c:if test="${!empty homemakingPubitemVo}">
			    					<input name="quantity" type="text" class="field easyui-numberbox" min="0" maxlength="10" value="${homemakingPubitemVo.quantity}" />
		    					</c:if>
		    				</td>
		    			</tr>
		    			<tr>
		    				<td class="field">价格：</td>
		    				<td>
		    					<c:if test="${!empty homemakingPubitemVo}">
			    					<input name="price" type="text" class="field easyui-numberbox" min="0" maxlength="10" value="${homemakingPubitemVo.price}" />
		    					</c:if>
		    				</td>
		    			</tr>
		    			<tr>
		    				<td class="field">状态：</td>
		    				<td>
		    					<select name="status">
									<option value="1"
										<c:if test="${homemakingPubitemVo != null && homemakingPubitemVo.status==1}"> selected="selected"</c:if>
									>有效</option>
									<option value="2"
										<c:if test="${homemakingPubitemVo != null && homemakingPubitemVo.status==2}"> selected="selected"</c:if>
									>失效</option>
								</select>
		    				</td>
		    			</tr>
		    		</tbody>
		    	</table>
	    	</form>
	    </div>
	</div>
  </body>
</html>
